import http from '@/utils/request'

export function generateOrder(query) {
	return http.request({
		url:'/system/order',
		method:'post',
		data:query
	})
}
export function pay(query) {
	return http.request({
		url:'/system/order/pay',
		method:'get',
		params:query
	})
}
export function getOrderState(query) {
	return http.request({
		url:'/system/order/getOrder/'+query,
		method:'get'
	})
}
